package com.zhijian.medical.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 设备品类校准参数
 *
 * @author Auto Generator
 * @date 2022-01-17 15:45:16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "设备品类校准参数")
public class DeviceCategoryAdjustParameter {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    @NotBlank(message = "校准参数内容不能为空")
    private String content;

    /**
     * 设备品类id
     */
    @ApiModelProperty("设备品类id")
    @NotNull(message = "设备品类id不能为空")
    private Long categoryId;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String note;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", hidden = true)
    private Date updateTime;
}